﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Configuration;

namespace MPMovieCatalog.Configuration.Sections
{
    public class ConnectionSectionFormSettings : ApplicationSettingsBase
    {
        [UserScopedSetting()]
        [DefaultSettingValueAttribute("localhost")]
        public string Host
        {
            get { return (string)(this["host"]); }
            set { this["host"] = value; }
        }

        [UserScopedSetting()]
        [DefaultSettingValueAttribute("8080")]
        public decimal Port
        {
            get { return (decimal)(this["port"]); }
            set { this["port"] = value; }
        }
    }
}
